import request from '@/utils/request'

// 获取验证码
export const getCodeApi = (params) => {
  return request({
    method: 'get',
    url: '/captcha',
    params
  })
}
// 登录
export function loginApi(data) {
  return request({
    method: 'post',
    url: '/login',
    data
  })
}

export function getInfo(token) {

}

export function logout() {

}
